package com.ruoyi.project.experiment.experimentstudent.domian;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.util.Date;

/**
 * @ClassName StudentExperiment
 * @Description TODO
 * @Author lvyongwei
 * @Date
 **/
public class StudentExperiment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 实验报告编号 */
    private Long reportId;

    /** 实验编号 */
    @Excel(name = "实验编号")
    private Long reportExperimentId;

    /** 学生编号 */
    @Excel(name = "学生编号")
    private Long reportStuId;

    /** 学生编号 */
    @Excel(name = "学生姓名")
    private String reportStuName;

    /** 实验分数 */
    @Excel(name = "实验分数")
    private Long score;

    /** 实验时间 */
    @Excel(name = "实验时间")
    private Long reportDate;

    /** u3d传过来的字段 */
    @Excel(name = "u3d传过来的字段")
    private String reportText;

    /** 学生做实验标识，区分多次重复做该实验 */
    @Excel(name = "学生做实验标识，区分多次重复做该实验")
    private String uuid;

    /** 提交日期 */
    @Excel(name = "提交日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitDate;

    /** 实验评价 */
    @Excel(name = "实验评价", width = 100)
    private String experimentEvaluate;


    /**
     * 实验报告
     */
    private String experimentReport;

    /**
     * 实验人数
     */
    private int count;

    /**
     * 项目名称
     * @return
     */
    private String experimentName;

    /**
     * u3d传来的分数
     * @param reportExperimentId
     * @param reportStuId
     * @param uuid
     */
    private double u3dScore;

    /**
     * ilab唯一标识码
     */
    private String accessToken;

    /**
     * 登录名
     */
    private String loginName;


    public StudentExperiment(Long reportExperimentId, Long reportStuId, String uuid) {
        this.reportExperimentId = reportExperimentId;
        this.reportStuId = reportStuId;
        this.uuid = uuid;
    }

    public String getExperimentName() {
        return experimentName;
    }

    public void setExperimentName(String experimentName) {
        this.experimentName = experimentName;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public StudentExperiment() {
    }


    public StudentExperiment(Long reportExperimentId, Long reportStuId, String uuid, String reportStuName) {
        this.reportExperimentId = reportExperimentId;
        this.reportStuId = reportStuId;
        this.uuid = uuid;
        this.reportStuName = reportStuName;
    }

    public StudentExperiment(Long reportExperimentId, Long reportStuId, String reportStuName, String uuid, String accessToken) {
        this.reportExperimentId = reportExperimentId;
        this.reportStuId = reportStuId;
        this.reportStuName = reportStuName;
        this.uuid = uuid;
        this.accessToken = accessToken;
    }

    public StudentExperiment(Long reportExperimentId, Long reportStuId, String reportStuName, String uuid, String accessToken, String loginName) {
        this.reportExperimentId = reportExperimentId;
        this.reportStuId = reportStuId;
        this.reportStuName = reportStuName;
        this.uuid = uuid;
        this.accessToken = accessToken;
        this.loginName = loginName;
    }

    public String getReportStuName() {
        return reportStuName;
    }

    public void setReportStuName(String reportStuName) {
        this.reportStuName = reportStuName;
    }

    public void setReportId(Long reportId)
    {
        this.reportId = reportId;
    }

    public Long getReportId()
    {
        return reportId;
    }

    public void setReportExperimentId(Long reportExperimentId)
    {
        this.reportExperimentId = reportExperimentId;
    }

    public Long getReportExperimentId()
    {
        return reportExperimentId;
    }
    public void setReportStuId(Long reportStuId)
    {
        this.reportStuId = reportStuId;
    }

    public Long getReportStuId()
    {
        return reportStuId;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }
    public void setReportDate(Long reportDate)
    {
        this.reportDate = reportDate;
    }

    public Long getReportDate()
    {
        return reportDate;
    }
    public void setReportText(String reportText)
    {
        this.reportText = reportText;
    }

    public String getReportText()
    {
        return reportText;
    }
    public void setUuid(String uuid)
    {
        this.uuid = uuid;
    }

    public String getUuid()
    {
        return uuid;
    }
    public void setSubmitDate(Date submitDate)
    {
        this.submitDate = submitDate;
    }

    public Date getSubmitDate()
    {
        return submitDate;
    }

    public String getExperimentEvaluate() {
        return experimentEvaluate;
    }

    public void setExperimentEvaluate(String experimentEvaluate) {
        this.experimentEvaluate = experimentEvaluate;
    }

    public String getExperimentReport() {
        return experimentReport;
    }

    public void setExperimentReport(String experimentReport) {
        this.experimentReport = experimentReport;
    }

    public double getU3dScore() {
        return u3dScore;
    }

    public void setU3dScore(double u3dScore) {
        this.u3dScore = u3dScore;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    @Override
    public String toString() {
        return "StudentExperiment{" +
                "reportId=" + reportId +
                ", reportExperimentId=" + reportExperimentId +
                ", reportStuId=" + reportStuId +
                ", reportStuName='" + reportStuName + '\'' +
                ", score=" + score +
                ", reportDate=" + reportDate +
                ", reportText='" + reportText + '\'' +
                ", uuid='" + uuid + '\'' +
                ", submitDate=" + submitDate +
                ", experimentEvaluate='" + experimentEvaluate + '\'' +
                ", experimentReport='" + experimentReport + '\'' +
                ", count=" + count +
                ", experimentName='" + experimentName + '\'' +
                ", u3dScore=" + u3dScore +
                '}';
    }
}
